home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ftp.ncsa.uiuc.edu
/
ftp.ncsa.uiuc.edu.zip
/
ftp.ncsa.uiuc.edu
/
HypercardAnimator
/
HA1.0.smp.sit.hqx
/
Examples
/
HC Animation Template
/
background_2745.txt
< prev
next >
Wrap
Text File
|
1989-08-24
|
3KB
|
135 lines
-- background: 2745 from stack: in
-- bmap block id: 3219
-- flags: 0000
-- background id: 0
-- name:
-- part 8 (button)
-- low flags: 00
-- high flags: A000
-- rect: left=450 top=8 right=66 bottom=508
-- title width / last selected line: 0
-- icon id / first selected line: 8419 / 8419
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: Next Card
----- HyperTalk script -----
on mouseDown
repeat while the mouse is down
go to next card
end repeat
end mouseDown
-- part 9 (button)
-- low flags: 00
-- high flags: A000
-- rect: left=450 top=69 right=126 bottom=508
-- title width / last selected line: 0
-- icon id / first selected line: 17779 / 17779
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: Prev Card
----- HyperTalk script -----
on mouseDown
repeat while the mouse is down
go to prev card
end repeat
end mouseDown
-- part 18 (button)
-- low flags: 00
-- high flags: A001
-- rect: left=449 top=200 right=262 bottom=511
-- title width / last selected line: 0
-- icon id / first selected line: 12312 / 12312
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: Load Frames
----- HyperTalk script -----
on mouseUp
pictxcmd("NULL")
doMenu "Compact Stack"
end mouseUp
-- part 23 (button)
-- low flags: 00
-- high flags: A000
-- rect: left=451 top=130 right=197 bottom=509
-- title width / last selected line: 0
-- icon id / first selected line: 12398 / 12398
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: Run Movie
----- HyperTalk script -----
on mouseDown
answer "What speed" with "slowest" or "faster" or "fastest"
if it is "slowest" then repeat while the mouse is not down
go to next card
wait 3
end repeat
if it is "faster" then repeat while the mouse is not down
go to next card
end repeat
if it is "fastest" then repeat until the commandkey is down
show all cards
end repeat
end mouseDown
-- part 27 (button)
-- low flags: 00
-- high flags: A001
-- rect: left=451 top=269 right=324 bottom=512
-- title width / last selected line: 0
-- icon id / first selected line: 24727 / 24727
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: Delete Stack
----- HyperTalk script -----
on mouseUp
put the number of cards into it
go last
doMenu "New Card"
go first
repeat with cardcount = 1 to it
doMenu "Delete Card"
end repeat
doMenu "Compact Stack"
end mouseUp